import request from '@/utils/request'

export function uploadFile(data) {
    return request({
      url: '/file/upload',
      method: 'post',
      data: data,
      headers: { 'content-type': 'multipart/form-data' }
    })
  }
  